<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登陆失败</title>
<script type="text/javascript">
function check()
    {
        if((myform.username.value!=""))
        {
            if((myform.pwd.value!=""))
            {
                return true
            }
            else
            {
                alert("密码不能为空");
                return false
             }
          }
        else
        {
            alert("用户名不能为空");
            return false
         }
      }

</script>
</head>
<body>
<h2>登陆失败</h2><br>
<h2>请重新登陆</h2>
<form action="Login1" name="myform" onSubmit="return check()">
用户名&nbsp;<input name="username" type="text"><br>
密码&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="pwd" type="password"><br>
<input type="submit" value="提交">
<input type="reset" value="重置">
</form>
</body>
</html>